<?php
namespace app\common\model;

class Lottery3Log extends \think\Model {
	protected $table = 'league_lottery_3_log';

	public function getStatusAttr($value) {
		$status = [
			3 => '<span style="color: red;">下蛋中</span>',
			4 => '<span style="color: blue;">下蛋结束</span>',
			9 => '天鹅死亡'
		];

		return $status[$value];
	}
}
?>